﻿Public Class OrdenCompra
    Dim nroOrden As Integer
    Dim fechaCreacion As New DateTime()
    Dim fechaNecesidad As New DateTime()
    Dim detalle As New List(Of DetalleOrden)
    Dim proveedor As New Proveedor()
    Dim estado As New Estado()


    Public Property _estado As Estado
        Get
            Return estado
        End Get
        Set(ByVal value As Estado)
            estado = value
        End Set
    End Property
    Public Property _nroOrden As Integer
        Get
            Return nroOrden
        End Get
        Set(value As Integer)
            nroOrden = value
        End Set
    End Property
    Public Property _fechaCreacion As DateTime
        Get
            Return fechaCreacion
        End Get
        Set(value As DateTime)
            fechaCreacion = value
        End Set
    End Property
    Public Property _fecheNecesidad As DateTime
        Get
            Return fechaNecesidad
        End Get
        Set(value As DateTime)
            fechaNecesidad = value
        End Set
    End Property
    Public Property _detalle As List(Of DetalleOrden)
        Get
            Return detalle
        End Get
        Set(value As List(Of DetalleOrden))
            detalle = value
        End Set
    End Property
    Public Property _proveedor As Proveedor
        Get
            Return proveedor
        End Get
        Set(value As Proveedor)
            proveedor = value
        End Set
    End Property
End Class
